#ifndef __FOLDERSTACK_H__
#define __FOLDERSTACK_H__


#include <stdlib.h>
typedef struct Node_s
{
    int file_id; // 存放文件id
    struct Node_s *pNext;
} Node_t;

typedef struct folderStack_s
{
    Node_t *pTop; // 栈顶
    int stackSize;
} folderStack_t;


int folderStackInit(folderStack_t *pStack);

int push(folderStack_t *pStack,int file_id);

int pop(folderStack_t *pStack);

int folderStackDestroy(folderStack_t *pStack);

#endif